package com.sunday.common.http.apache;

import com.sunday.common.core.gson.GsonUtils;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class JsonEntity {

    private int id;
    private String name;

    @Override
    public String toString() {
        return GsonUtils.DEFAULT.toJson(this);
    }
}
